# -*- coding: UTF-8 -*-
'''
Created on 2013��9��30��
利用APScheduler
@author: wangxingxiang
'''
from apscheduler.scheduler import Scheduler
 
schedudler = Scheduler(daemonic = False) 
 
@schedudler.cron_schedule(second='*', day_of_week='0-4', hour='9-12,13-15') 
def quote_send_sh_job(): 
    print 'a simple cron job start at'+'\n', datetime.datetime.now()
 
schedudler.start()